package com.woniu.woniuticket.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.woniuticket.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author spirit
 * @since 2020-01-02
 */
public interface IOrderService extends IService<OrderForm> {

    List<OrderAllInfo> getOrder(Integer studentId);

    int delOrder(Integer orderId);

    int remoney(Integer orderId);

    int qrorder(Integer orderId);

    int selectOrder(Integer orderId);

    List<String> findByOutTradeNo(String out_trade_no);

    int payMoney(String of);

    int findSomeOrder(Integer orderId);

    String findOrderTime(Integer orderId);

    OrderForm productOrder(Integer studentId, BigDecimal orderPrice, String orderName, List<SelectSeat> selectSeats, String seat, Integer showSessionId, Integer ticketNumber);

    IPage<OrderForm> selectOrderByStatus(Page<OrderForm> ordersPage,Form form);
}
